import os

DEBUG_CASE = os.getenv('debug_case','reg.yml')


class Setting(object):

    IP = "192.168.188.129"
    PORT = "80"

    base_url = "http://{}:{}".format(IP,8000)

    db_info = {
        'host': '{}'.format(IP),
        'user': 'root',
        'password': 'root',
        'port': 3306,
        'db':'tpshop2.0'
    }

    login_info = {
        'userName':'admin',
        'password':'123456',
        'remember':False
    }

    current_url = "http://{}:{}".format(IP,PORT)


class Browser():
    chrome_path = os.getenv('CHROME_PATH', r"D:\chrome\chrome.exe")
    driver_path = os.getenv('DRIVER_PATH', r'D:\chrome\chromedriver.exe')
